package com.boguan.device.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * device_param 设备参数
 *
 * @author chen
 */
public class DeviceParam implements Serializable {
    /**
     * 设备参数表 主键
     */
    private Long id;

    /**
     * 类型参数id
     */
    private Long paramId;

    /**
     * 设备参数类型id
     */
    private Long typeId;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 参数值
     */
    private String value;

    /**
     * 是否开启报警通知
     */
    private Boolean isMessage;


    /**
     * 数据类型 1数值 ，2枚举,3字符串，4浮点数，
     */
    private Integer dataType;

    /**
     * 乘数
     */
    private Double scale;

    /**
     * 计算单位  当数据类型为枚举是该字段存的是 json
     */
    private String paramUnits;


    /**
     * 参数类型 参数名称
     */
    private String paramName;

    /**
     * 参数类型   1：属性，2:报警,3参数
     */
    private Integer paramType;

    /**
     * 参数的标识
     */
    private String identifier;

    /**
     * 图标
     */
    private String icon;

    public Double getScale() {
        return scale;
    }

    public void setScale(Double scale) {
        this.scale = scale;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParamId() {
        return paramId;
    }

    public void setParamId(Long paramId) {
        this.paramId = paramId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Boolean getIsMessage() {
        return isMessage;
    }

    public void setIsMessage(Boolean isMessage) {
        this.isMessage = isMessage;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public Integer getParamType() {
        return paramType;
    }

    public void setParamType(Integer paramType) {
        this.paramType = paramType;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Boolean getMessage() {
        return isMessage;
    }

    public void setMessage(Boolean message) {
        isMessage = message;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getParamUnits() {
        return paramUnits;
    }

    public void setParamUnits(String paramUnits) {
        this.paramUnits = paramUnits;
    }

}
